POV-Ray : Newsgroups : povray.animations : Math Question : Math Question Server Time
1 Jul 2024 01:23:22 EDT (-0400)
  Math Question  
From: Josh
Date: 13 Oct 2005 04:05:06
Message: <434e1532@news.povray.org>
I've got a Key Frame animation utility I've written.

Unfortunately it only works in straight lines, that is to say it calculates 
the variables for each frame by dividing the starting and ending values by 
the number of frames.

This is fine but I want to be able to start the movement faster and end it 
slower, and vice versa, possibly even have it faster at the beginning and 
and with it slower in the middle.

Example of what I am doing at the moment.

Start Value for Camera X is -100
End Value for Camera X is 1095
There are 150 frames, so I increment the Camera X by +7.96 per frame, a 
straight line.

What formular can I use to have the camera start faster and slow to a halt?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.